mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-04 03:24:04 +00:00 
			
		
		
		
	Add countdown timers support
This commit is contained in:
		@@ -250,6 +250,12 @@ export class PostsController {
 | 
			
		||||
				break;
 | 
			
		||||
			
 | 
			
		||||
			
 | 
			
		||||
			// Countdown timers
 | 
			
		||||
			case PostKind.POST_KIND_COUNTDOWN:
 | 
			
		||||
				newPost.timeEnd = h.postInt("time-end");
 | 
			
		||||
				break;
 | 
			
		||||
			
 | 
			
		||||
 | 
			
		||||
			default:
 | 
			
		||||
				h.error(500, "Unsupported kind of post!");
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user