aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/auth.ts
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-31 11:38:06 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-31 11:38:06 +0100
commit8d3b8fd8aa9603f5377f1b37963190ac2c01e9dd (patch)
tree7f4867f47702eedbb94e9723597f301e36aa0ea8 /web/pw-server/src/lib/auth.ts
parent74d0189d37087188de72a70aadb0e3a22cad7917 (diff)
downloadplanetwars.dev-8d3b8fd8aa9603f5377f1b37963190ac2c01e9dd.tar.xz
planetwars.dev-8d3b8fd8aa9603f5377f1b37963190ac2c01e9dd.zip
npm run format
Diffstat (limited to 'web/pw-server/src/lib/auth.ts')
-rw-r--r--web/pw-server/src/lib/auth.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/pw-server/src/lib/auth.ts b/web/pw-server/src/lib/auth.ts
index 436ec66..3f77c58 100644
--- a/web/pw-server/src/lib/auth.ts
+++ b/web/pw-server/src/lib/auth.ts
@@ -1,7 +1,7 @@
export function set_session_token(token: string) {
- window.localStorage.setItem('session', token);
+ window.localStorage.setItem("session", token);
}
export function get_session_token(): string | null {
- return window.localStorage.getItem('session');
-} \ No newline at end of file
+ return window.localStorage.getItem("session");
+}