refact: update serializer log for prefix and namespace (#14062)

This commit is contained in:
Jai 2022-08-09 14:08:28 -04:00 committed by GitHub
parent 4da169e155
commit 34104488a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,8 @@ export default class JobSerializer extends ApplicationSerializer {
variables: { variables: {
links: { links: {
related: buildURL(`/${apiNamespace}/vars`, { related: buildURL(`/${apiNamespace}/vars`, {
prefix: `jobs/${variableLookup}`, prefix: `nomad/jobs/${variableLookup}`,
namespace,
}), }),
}, },
}, },