Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
b oppdaterer til riktig path for uthenting av migration token
Browse files Browse the repository at this point in the history
########72 characters##################################################
# Arlo's Commit Notation:
#
# Low risk:
# t	Test only
# d	Developer documentation changes (not end-user facing)
# dt	Documentation & Tests (Often used when you have sample snippets
# a	Automated formatting / generation
# r	Provable Refactoring
# c	Comments (add/delete)
# e	Environment (non-code) changes that don't affect program behavior
#
# May change behavior:
# F	Feature (<= 8 LoC)
# B	Bug (<= 8 LoC)
# R	Test-supported Procedural Refactoring
#
# Danger zone!
# F!!	Feature (> 8 LoC)
# B!!	Bug (> 8 LoC)
# R!!	Non-provable refactoring
# ***	Does not compile intermediate step
  • Loading branch information
theagilepadawan committed Aug 3, 2021
1 parent c242eca commit e3068ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MigreringPostgressResource(

@GetMapping()
fun hentNesteFraTabell(@RequestHeader("x-token") token: String, @RequestParam() tabellNavn: TabellNavn, @RequestParam() idSisthentet: Long): List<Map<String, Any>> {
val secret = getVaultSecret("MIGRATION-TOKEN")
val secret = getVaultSecret("vault/migration-token")

if (!secret.equals(token)) {
throw ForbiddenException("Ugydlig token")
Expand Down

0 comments on commit e3068ab

Please sign in to comment.