mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	half broken editing
This commit is contained in:
		| @@ -291,9 +291,9 @@ marked.setOptions({ | ||||
| 		}); | ||||
| 	} | ||||
|  | ||||
| 	Posts.getRawContent = function(pid, socket) { | ||||
| 	Posts.getRawContent = function(pid, callback) { | ||||
| 		RDB.get('pid:' + pid + ':content', function(err, raw) { | ||||
| 			socket.emit('api:posts.getRawPost', { post: raw }); | ||||
| 			callback(raw); | ||||
| 		}); | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user