mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
fixed backend port for shifts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// frontend/src/services/shiftPlanService.ts
|
||||
import { authService } from './authService';
|
||||
|
||||
const API_BASE = 'http://localhost:3001/api/shift-plans';
|
||||
const API_BASE = 'http://localhost:3002/api/shift-plans';
|
||||
|
||||
export interface CreateShiftPlanRequest {
|
||||
name: string;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { ShiftTemplate, TemplateShift } from '../types/shiftTemplate';
|
||||
import { authService } from './authService';
|
||||
|
||||
const API_BASE = 'http://localhost:3001/api/shift-templates';
|
||||
const API_BASE = 'http://localhost:3002/api/shift-templates';
|
||||
|
||||
export const shiftTemplateService = {
|
||||
async getTemplates(): Promise<ShiftTemplate[]> {
|
||||
|
||||
Reference in New Issue
Block a user