Skip to content

Commit

Permalink
Update assumption about api route
Browse files Browse the repository at this point in the history
  • Loading branch information
jonallured committed Sep 6, 2019
1 parent fb2adfe commit d998dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/identify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class Identify extends Command {
if (foundIndex >= 0) {
const foundCollection = Identify.collectionsToCheck[foundIndex]
const foundResource = `${foundCollection.endpoint}/${id}`
this.log(`${foundCollection.name} ${gravity.url(foundResource)}`)
this.log(`${foundCollection.name} ${gravity.url(`api/v1/${foundResource}`)}`)
} else {
const collections = Identify.collectionsToCheck.map(c => c.name)
this.log(`Nothing found in: ${collections.join(", ")}`)
Expand Down

0 comments on commit d998dfa

Please sign in to comment.