Logo
Explore Help
Sign In
Eternity/SpaceNinjaServer
1
0
Fork 0
You've already forked SpaceNinjaServer
forked from OpenWF/SpaceNinjaServer
Code Pull Requests Activity
SpaceNinjaServer/src/controllers/api/resetQuestProgressController.ts

6 lines
148 B
TypeScript
Raw Normal View History

feat: resetQuestProgress (#2461) Just giving the client an 'ok' response. It seems that it does use updateQuest to manage the state itself mostly, just the server and webui are a bit confused about a quest with all stages completed still being active. Re #1323 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2461 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-10 20:59:39 -07:00
import { RequestHandler } from "express";
export const resetQuestProgressController: RequestHandler = (_req, res) => {
res.send("1").end();
};
Copy Permalink
Powered by Gitea Version: 1.23.3 Page: 46ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API